<include file="public/header"/>

<body>

<!--main-->
<div class="xgIndex-map">
  <img src="__PUBLIC__/home/images/map.png" border="0" usemap="#usemap" alt="Planets" />
  <map name="usemap" id="usemap">

      <volist name="data" id="vo">
          <if condition="$vo.is_on_sale neq 1">
              <area shape="rect" coords="{$vo.location}" href="javascript:;" onClick="ts()" alt="{$vo.goods_name}" style="outline:none">
          <else/>
              <area shape="rect" coords="{$vo.location}" href="{:U('Index/subscribe',array('itemid' => $vo.goods_id))}" alt="{$vo.goods_name}" style="outline:none">
          </if>
      </volist>
  </map>
</div>

<script src="__PUBLIC__/home/js/jquery.rwdImageMaps.min.js"></script>
<script>
$(document).ready(function(e) {
	$('img[usemap]').rwdImageMaps();
	
	$('area').on('click', function() {
		
	});
});

//点击9号 球位预约
function ts() {
    layer.msg("{$system.prompt}",{icon: 8,time:2000});
     layer.msg("周末免预约体验",{icon: 8,time:2000});
}

function ts2() {
    layer.msg("周末免约畅打!",{icon: 8,time:2000});
}
</script>
<!--main-->




</body>
</html>